<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">

<title>addStudent</title>
</head>
<body>

<%	Object msg=request.getAttribute("message");

	if(msg!=null){	
%>
<font color="red"><%=msg %></font>
<%	} %>
 <form action="addStudent.So" method="post">

			
			 <div class="form-group">
				 <label  class="col-sm-2 col-form-label">学生姓名:</label>
				<input type="text" name="studentName">
				</div>
			 <div class="form-group">
				<label  class="col-sm-2 col-form-label">性别:</label>
				<input type="radio" name="sex" value="男">男
				<input type="radio" name="sex" value="女">女
				</div>
			 <div class="form-group">	 	
				<label  class="col-sm-2 col-form-label">班别:</label>
				<input type="text" name="className">
			</div>
			 <div class="form-group">	 	
				<label  class="col-sm-2 col-form-label">楼栋:</label>
				<input type="text" name="dormName">
			</div>
			 <div class="form-group">	 	
				<label  class="col-sm-2 col-form-label">宿舍号:</label>
				<input type="text" name="roomNo">
			</div>
			<input type="submit" class="btn btn-primary" value="提交">
			
		
  </form>
</body>
</html>